﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Routing;
using System.Web;

namespace MvcEngine.Core.HttpModules
{
    public class MvcEngineRoutingModule : UrlRoutingModule
    {
        protected override void Init(System.Web.HttpApplication application)
        {
            base.Init(application);
        }

        public override void PostResolveRequestCache(HttpContextBase context)
        {
            //if (context.Request.Url.ToString().Contains("Page"))
            //{
            //    context.RewritePath("/Post/New");
            //}

            base.PostResolveRequestCache(context);
        }

        public override void PostMapRequestHandler(HttpContextBase context)
        {
            base.PostMapRequestHandler(context);
        }
    }
}
